package com.ict.web.controller.yzq;


import com.ict.common.core.controller.BaseController;
import com.ict.common.core.domain.AjaxResult;
import com.ict.common.core.page.TableDataInfo;
import com.ict.common.enums.BusinessType;
import com.ict.common.utils.poi.ExcelUtil;
import com.ict.web.domain.ExpertCourse;
import com.ict.web.service.IExpertCourseService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 专家确认进程Controller
 * 
 * @author xc
 * @date 2022-02-25
 */
@Api(tags = "专家确认进程")
@RestController
@RequestMapping("/expertCourse")
public class ExpertCourseController extends BaseController
{
    @Autowired
    private IExpertCourseService expertCourseService;


    /**
     * 查询专家确认进程列表
     */
    @GetMapping("/reviewTaskId")
    @ApiOperation(value ="查询专家确认进程列表")
    public TableDataInfo list(String reviewTaskId)
    {
        startPage();
        List<ExpertCourse> list = expertCourseService.selectExpertCourseList(reviewTaskId);
        return getDataTable(list);
    }



}
